//
//  ALAssetsLibrary+CustomPhotoAlbum.h
//  TestGetImg
//
//  Created by 刘泽琛 on 14-5-8.
//  Copyright (c) 2014年 刘 泽琛. All rights reserved.
//

#import <AssetsLibrary/AssetsLibrary.h>
typedef void(^SaveImageCompletion)(NSError* error);

@interface ALAssetsLibrary (CustomPhotoAlbum)
-(void)saveImage:(UIImage*)image toAlbum:(NSString*)albumName withCompletionBlock:(SaveImageCompletion)completionBlock;

- (void)saveVideo:(NSURL *)videoUrl toAlbum:(NSString *)albumName withCompletionBlock:(SaveImageCompletion)completionBlock;

-(void)addAssetURL:(NSURL*)assetURL toAlbum:(NSString*)albumName withCompletionBlock:(SaveImageCompletion)completionBlock;
@end
